package cn.blankm.videokernel.impl.exo;

import android.content.Context;

import cn.blankm.videokernel.factory.PlayerFactory;


/**
 * Copyright (C), 1999-2022
 * Author qfmeng@iflytek.com
 * Date 2022/5/26 16:45
 *
 * Description: exo视频播放器Factory
 *
 *  revise: 抽象工厂具体实现类
 */
public class ExoPlayerFactory extends PlayerFactory<ExoMediaPlayer> {

    public static ExoPlayerFactory create() {
        return new ExoPlayerFactory();
    }

    @Override
    public ExoMediaPlayer createPlayer(Context context) {
        return new ExoMediaPlayer(context);
    }
}
